<!doctype html>
<html lang="zh" class="no-js">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" type="text/css" href="/static/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="/static/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="/static/themes/color.css">
    <link rel="stylesheet" type="text/css" href="/static/demo/demo.css">

    <link rel="stylesheet" type="text/css" href="/static/css/left_htmleaf-demo.css">
    <link rel="stylesheet" type="text/css" href="/static/css/left_nav.css">
    <link rel="stylesheet" type="text/css" href="/static/fonts/left_iconfont.css">
    <!-- 引入 echarts.js -->
    <script type="text/javascript" src="/static/js/jquery-2.1.1.min.js"></script>
    <script src="https://cdn.staticfile.org/echarts/4.3.0/echarts.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/static/js/left_nav.js"></script>
</head>
<body style="background: #999999;height: 80% !important;">

<div class="nav">
    <input id="usermeesage" type="hidden" th:attr="value=${userMessage.name}">
    <div class="nav-top">
        <div id="mini" style="border-bottom:1px solid rgba(255,255,255,.1)"><img src="../static/images/left_mini.png"></div>
    </div>
    <ul>
        <li class="nav-item">
            <a href="/user/outSignIn"><i class="my-icon nav-icon icon_2"></i><span  th:text="${userMessage.name}+'&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;注销'"> </span><i class="my-icon nav-more"></i></a>
        </li>
        <li class="nav-item">
            <a href="/userAdmin"><i class="my-icon nav-icon icon_1"></i><span>用户管理</span><i class="my-icon nav-more"></i></a>
        </li>
        <li class="nav-item">
            <a href="javascript:;"><i class="my-icon nav-icon icon_1"></i><span>商品管理</span><i class="my-icon nav-more"></i></a>
            <ul>
                <li><a href="/commodityAdmin"><span>商品管理</span></a></li>
                <li><a href="/warehousingAdmin"><span>商品入库</span></a></li>
                <li><a href="/deliveryAdmin"><span>商品出库</span></a></li>
                <li><a href="/commodityStaticAdmin"><span>商品信息看板</span></a></li>
            </ul>
        </li>
        <li class="nav-item">
            <a href="/supplierAdmin"><i class="my-icon nav-icon icon_1"></i><span>供应商管理</span><i
                        class="my-icon nav-more"></i></a>
        </li>
        <li class="nav-item">
            <a href="/warehouseAdmin"><i class="my-icon nav-icon icon_1"></i><span>仓库管理</span><i
                        class="my-icon nav-more"></i></a>
        </li>
    </ul>
</div>
<div class="related-Ui" style="
    margin-left: 17%;
    margin-top: 2%;
">
    <main class="" th:if="${type == 'userAdmin'}" th:include="/userAdmin :: userAdmin"></main>
    <main class="" th:if="${type == 'supplierAdmin'}" th:include="/supplierAdmin :: supplierAdmin"></main>
    <main class="" th:if="${type == 'warehouseAdmin'}" th:include="/warehouseAdmin :: warehouseAdmin"></main>
    <main class="" th:if="${type == 'commodityAdmin'}" th:include="/commodityAdmin :: commodityAdmin"></main>
    <main class="" th:if="${type == 'warehousingAdmin'}" th:include="/warehousingAdmin :: warehousingAdmin"></main>
    <main class="" th:if="${type == 'deliveryAdmin'}" th:include="/deliveryAdmin :: deliveryAdmin"></main>
    <main class="" th:if="${type == 'commodityStaticAdmin'}" th:include="/commodityStaticAdmin :: commodityStaticAdmin"></main>
</div>


</body>
</html>


